home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / TECHNICA / COMPUTER / H254.ZIP / IRITSM3S.ZIP / POLY3D / MAKEFILE.TC < prev    next >
Text File  |  1992-01-27  |  1KB  |  43 lines

  1. #
  2. # This make file is for the poly3d utility for Borland C++ 2.0
  3. # (Using Ansi C though).
  4. #
  5. # Only large model is created here.
  6. #
  7. #                Gershon Elber, July 1990
  8. #
  9.  
  10. # Works only on TC++ 1.0 make and up - swap out make before invoking command.
  11. .SWAP
  12.  
  13. # Includes generic definitions.
  14. !include "..\makeflag.dos"
  15.  
  16. OBJS =  interact.obj matherr.obj poly3d.obj postscrp.obj
  17.  
  18. # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
  19. # choke on them (the { } signals batch mode that combines few operation at the
  20. # same time - very nice feature!).
  21. .c.obj:
  22.     $(CC) -I$(INC_DIR) $(CFLAGS) -DSUPPORT_GIF_SAVE {$< }
  23.  
  24. poly3d.exe: $(OBJS)
  25.     $(LNK) @&&!
  26. $(TC_LIB_DIR)\c0l+
  27. $(OBJS)
  28. poly3d.exe
  29. poly3d.map
  30. $(LIBS)
  31. !$(LFLAGS)
  32.  
  33. install: poly3d.exe
  34.     copy poly3d.exe $(BIN_DIR)
  35.     del poly3d.exe 
  36.     copy poly3dms.cfg $(BIN_DIR)\poly3d.cfg
  37.  
  38. # Dependencies starts here - do not touch, generated automatically.
  39. interact.obj:    program.h interact.h
  40. matherr.obj:    matherr.h program.h
  41. poly3d.obj:    program.h interact.h matherr.h
  42. postscrp.obj:    program.h interact.h
  43.